/*
 * Copyright (c) 2017 zhangcm. All Rights Reserved.
 */
package com.jnzc.ocr.rest.app.shop.param.app;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author zhangcm
 * @version 1.0, 2017/10/5
 */
@ApiModel(description = "商品搜索参数")
public class AppGoodsSearchParam {

    @ApiModelProperty(value = "分类ID")
    private Long categoryId;
    @ApiModelProperty(value = "排序字段(1.上新, 2.销量)，默认1")
    private Integer sortField = 1;
    @ApiModelProperty(value = "是否降序，默认false")
    private Boolean ifDesc = false;
    @ApiModelProperty(value = "关键词")
    private String keyword;

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public Integer getSortField() {
        return sortField;
    }

    public void setSortField(Integer sortField) {
        this.sortField = sortField;
    }

    public Boolean getIfDesc() {
        return ifDesc;
    }

    public void setIfDesc(Boolean ifDesc) {
        this.ifDesc = ifDesc;
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }
}
